/*
 * IOCard.h
 *
 *  Created on: Apr 2, 2012
 *      Author: s90085
 */

#ifndef IOCARD_H_
#define IOCARD_H_

#include "Buffer/TripleBuffer.h"
#include "Buffer/CameraBuffer.h"
#include "conc/xprintf.h"

class IOCard {
	TripleBuffer* buffers;
	bool hasImage;

public:
	IOCard();
	~IOCard();
	void swapCamera(int, Buffer*);
	void receiveImageFromCamera(int, byte);
	Buffer* getReadBuffer();

};


#endif /* IOCARD_H_ */
